gtk4.git
11 years agoUpdate expected output for assistant a11y test
Matthias Clasen [Thu, 10 Apr 2014 22:50:51 +0000 (15:50 -0700)]
Update expected output for assistant a11y test

The headerbar and its content now shows up, as it should.

11 years agoGtkAssistant: don't hide headerbar from a11y
Matthias Clasen [Thu, 10 Apr 2014 21:22:46 +0000 (14:22 -0700)]
GtkAssistant: don't hide headerbar from a11y

GtkAssistant has its own accessible implementation, and we forgot
to update it when we added a headerbar.

11 years agoGtkMessageDialog: Allow action-area-border theming again
Matthias Clasen [Thu, 10 Apr 2014 20:51:33 +0000 (13:51 -0700)]
GtkMessageDialog: Allow action-area-border theming again

This border does not interfere with headerbar-vs-content placement,
and we can allow themes to change it without breaking dialogs.

11 years agoGtkDialog: fix up handling of style properties
Matthias Clasen [Thu, 10 Apr 2014 20:49:07 +0000 (13:49 -0700)]
GtkDialog: fix up handling of style properties

The use of border-width-set here was an attempt to differentiate
between explicitly set (from code / ui files) border width from
theme changes. But when we are calling gtk_window_set_border_width
to apply the theme value, the -set property gets set, and all
further theme changes are ignored. This has the effect of only
letting the default value of these properties get applied.

Fix this by unsetting border-width-set after applying theme values.

11 years agoRevert "W32: RGBA GDK backend (broken)"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:48 +0000 (17:59 +0000)]
Revert "W32: RGBA GDK backend (broken)"

This reverts commit f89d38bc2d139ae1baab5c25e1d6ac451a2d5a5e.

Pushed by accident.

11 years agoRevert "W32: Add a basic set of CSD styles"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:59:21 +0000 (17:59 +0000)]
Revert "W32: Add a basic set of CSD styles"

This reverts commit 6e3e0dcd739bcf7ef549cecc0aa5061c794e14bb.

Pushed by accident.

11 years agoRevert "W32: Implement composition check for GDK"
Руслан Ижбулатов [Thu, 10 Apr 2014 17:58:58 +0000 (17:58 +0000)]
Revert "W32: Implement composition check for GDK"

This reverts commit 7ae5a56948e5124eabd558438ff29187f5721819.

Pushed by accident.

11 years agoW32: remove border on default buttons
Руслан Ижбулатов [Thu, 10 Apr 2014 15:33:41 +0000 (15:33 +0000)]
W32: remove border on default buttons

https://bugzilla.gnome.org/show_bug.cgi?id=727973

11 years agoW32: Implement composition check for GDK
Руслан Ижбулатов [Thu, 10 Apr 2014 08:48:13 +0000 (08:48 +0000)]
W32: Implement composition check for GDK

Also move DWM function grabbing and make those functions available to all of GDK-Win32.

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agoW32: Add a basic set of CSD styles
Руслан Ижбулатов [Mon, 7 Apr 2014 04:39:40 +0000 (04:39 +0000)]
W32: Add a basic set of CSD styles

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agoW32: RGBA GDK backend (broken)
Руслан Ижбулатов [Sat, 29 Mar 2014 21:28:33 +0000 (21:28 +0000)]
W32: RGBA GDK backend (broken)

https://bugzilla.gnome.org/show_bug.cgi?id=727316

11 years agotests: Don't use deprecated functions in testselection
Benjamin Otte [Thu, 10 Apr 2014 15:06:27 +0000 (17:06 +0200)]
tests: Don't use deprecated functions in testselection

11 years agotests: Make testlockbutton not use deprecated API
Benjamin Otte [Thu, 10 Apr 2014 15:00:44 +0000 (17:00 +0200)]
tests: Make testlockbutton not use deprecated API

11 years agotestgtk: Don't use deprecated functions in selection test
Benjamin Otte [Thu, 10 Apr 2014 14:53:42 +0000 (16:53 +0200)]
testgtk: Don't use deprecated functions in selection test

11 years agotestgtk: Remove rc file test
Benjamin Otte [Thu, 10 Apr 2014 14:50:32 +0000 (16:50 +0200)]
testgtk: Remove rc file test

The test didn't work anymore since RC files stopped being used in 3.0.

11 years agotestgtk: Don't use deprecated functions in progress bar test
Benjamin Otte [Thu, 10 Apr 2014 14:48:13 +0000 (16:48 +0200)]
testgtk: Don't use deprecated functions in progress bar test

11 years agotestgtk: Don't use deprecated functions in event watcher test
Benjamin Otte [Thu, 10 Apr 2014 14:45:37 +0000 (16:45 +0200)]
testgtk: Don't use deprecated functions in event watcher test

11 years agotestgtk: Don't use deprecated functions in scrolled windows test
Benjamin Otte [Thu, 10 Apr 2014 14:42:59 +0000 (16:42 +0200)]
testgtk: Don't use deprecated functions in scrolled windows test

11 years agotestgtk: Don't use deprecated functions in dialogs test
Benjamin Otte [Thu, 10 Apr 2014 14:35:51 +0000 (16:35 +0200)]
testgtk: Don't use deprecated functions in dialogs test

11 years agotestgtk: Make dialogs example work without static variable
Benjamin Otte [Thu, 10 Apr 2014 14:16:41 +0000 (16:16 +0200)]
testgtk: Make dialogs example work without static variable

Makes it a bit more complicated, but meh.

11 years agotestgtk: Clean up dialog example
Benjamin Otte [Thu, 10 Apr 2014 14:07:05 +0000 (16:07 +0200)]
testgtk: Clean up dialog example

Don't pass a static variable to a callback, when the static variable
could just be deinfed in the callback.

11 years agotestgtk: Don't use deprecated functions in flipping test
Benjamin Otte [Thu, 10 Apr 2014 12:28:44 +0000 (14:28 +0200)]
testgtk: Don't use deprecated functions in flipping test

11 years agotestgtk: Don't use deprecated functions in scrolling test
Benjamin Otte [Thu, 10 Apr 2014 00:40:49 +0000 (02:40 +0200)]
testgtk: Don't use deprecated functions in scrolling test

11 years agotestgtk: Don't call deprecated function in mainloop test
Benjamin Otte [Thu, 10 Apr 2014 00:36:38 +0000 (02:36 +0200)]
testgtk: Don't call deprecated function in mainloop test

11 years agotests: Add deprecation guards
Benjamin Otte [Thu, 10 Apr 2014 00:29:54 +0000 (02:29 +0200)]
tests: Add deprecation guards

11 years agopixelcache: Add a warning for an invariant that shouldn't happen
Benjamin Otte [Wed, 9 Apr 2014 23:53:57 +0000 (01:53 +0200)]
pixelcache: Add a warning for an invariant that shouldn't happen

Pixel caches should be unmapped before being freed and unmapping clears
those variables.

11 years agotextview: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 22:15:05 +0000 (00:15 +0200)]
textview: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agotreeview: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 21:34:57 +0000 (23:34 +0200)]
treeview: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agoviewport: Call map/unmap functions on pixel cache
Benjamin Otte [Wed, 9 Apr 2014 21:34:40 +0000 (23:34 +0200)]
viewport: Call map/unmap functions on pixel cache

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agopixelcache: Add map/unmap functions
Benjamin Otte [Wed, 9 Apr 2014 21:31:21 +0000 (23:31 +0200)]
pixelcache: Add map/unmap functions

Because GTK does not invalidate windows that aren't mapped, we cannot
update the pixel cache when the window it handles isn't mapped. So we
add API to call when GDK windows get mapped/unmapped.

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agopixelcache: Split out a function
Benjamin Otte [Wed, 9 Apr 2014 21:28:50 +0000 (23:28 +0200)]
pixelcache: Split out a function

https://bugzilla.gnome.org/show_bug.cgi?id=726475

11 years agoVisual C++ Builds: Fix Header Installation
Chun-wei Fan [Wed, 9 Apr 2014 06:03:01 +0000 (14:03 +0800)]
Visual C++ Builds: Fix Header Installation

Make sure that gtk/a11y/gtkpopoveraccessible.h is copied, so that programs
using GTK+'s a11y will compile correctly.

11 years agoFixed Russian translation
Yuri Myasoedov [Tue, 8 Apr 2014 20:22:57 +0000 (00:22 +0400)]
Fixed Russian translation

11 years agolistbox: keep emitting ::row-selected
Matthias Clasen [Tue, 8 Apr 2014 03:17:56 +0000 (23:17 -0400)]
listbox: keep emitting ::row-selected

This was accidentally lost when multi-selection was added, causing
sidebars like the one in gnome-contacts or polari to not work any
more.

12 years agodoap: update URLs
Piotr Drąg [Sun, 6 Apr 2014 11:10:52 +0000 (13:10 +0200)]
doap: update URLs

12 years agoheaderbar: Use popover for the fallback app menu
Yosef Or Boczko [Sun, 9 Feb 2014 15:51:52 +0000 (17:51 +0200)]
headerbar: Use popover for the fallback app menu

https://bugzilla.gnome.org/show_bug.cgi?id=723963

12 years agoDeprecate gtk_application_add_accelerator
Matthias Clasen [Sun, 6 Apr 2014 06:13:06 +0000 (02:13 -0400)]
Deprecate gtk_application_add_accelerator

The new gtk_application_set_accels_for_action api is more flexible
and better.

12 years agoAdd new switch api to the docs
Matthias Clasen [Sun, 6 Apr 2014 05:52:24 +0000 (01:52 -0400)]
Add new switch api to the docs

12 years agoAdd a delayed state test case
Matthias Clasen [Sat, 29 Mar 2014 17:41:25 +0000 (13:41 -0400)]
Add a delayed state test case

This adds a switch with delayed state change to testswitch,
demonstrating the functionality that was added in the previous
commit.

12 years agoswitch: Add a delayed state capability
Matthias Clasen [Sat, 29 Mar 2014 17:40:08 +0000 (13:40 -0400)]
switch: Add a delayed state capability

This commit makes it possible for GtkSwitch to indicate when
the underlying state changes with a delay, causing the switch
to temporarily go 'out of sync' with the underlying change.

https://bugzilla.gnome.org/show_bug.cgi?id=725648

12 years agoAdd new listbox api to docs
Matthias Clasen [Sun, 6 Apr 2014 05:51:38 +0000 (01:51 -0400)]
Add new listbox api to docs

12 years agolist box: Avoid excessive signals
Matthias Clasen [Sat, 29 Mar 2014 05:03:06 +0000 (01:03 -0400)]
list box: Avoid excessive signals

We were emitting the a11y ::selection-changed signal much more
often than ::selected-rows-changed. Thats not necessary.

12 years agoImprove list selection example
Matthias Clasen [Sat, 29 Mar 2014 04:59:05 +0000 (00:59 -0400)]
Improve list selection example

Print out signals, so we see how often they are emitted.

12 years agolist box: Cosmetic changes
Matthias Clasen [Sat, 29 Mar 2014 03:07:41 +0000 (23:07 -0400)]
list box: Cosmetic changes

Shorten variable names from list_box to box, throughout,
and use the BOX_PRIV macro everywhere.

12 years agoAdd a list box selection testcase
Matthias Clasen [Sat, 29 Mar 2014 01:48:54 +0000 (21:48 -0400)]
Add a list box selection testcase

12 years agolist box: Update accessible implementation
Matthias Clasen [Sat, 29 Mar 2014 02:10:27 +0000 (22:10 -0400)]
list box: Update accessible implementation

Now that multi selection is supported, we can provide a more
complete AtkSelection implementation.

12 years agolist box: Implement multiple selection
Matthias Clasen [Sat, 29 Mar 2014 01:34:39 +0000 (21:34 -0400)]
list box: Implement multiple selection

This largely copies the flox box implementation, including the
same key bindings.

12 years agolistbox: Add multi-selection API
Matthias Clasen [Fri, 28 Mar 2014 23:21:57 +0000 (19:21 -0400)]
listbox: Add multi-selection API

This commit adds API for dealing with multi-selection. It is identical
to the flow box API for this purpose. The implementation is still limited
to single-selection, and will be updated in subsequent commits.

12 years agoAdd version macros for 3.14
Matthias Clasen [Sat, 29 Mar 2014 01:50:44 +0000 (21:50 -0400)]
Add version macros for 3.14

12 years agoBump version to 3.13
Matthias Clasen [Sun, 6 Apr 2014 05:26:27 +0000 (01:26 -0400)]
Bump version to 3.13

12 years agoSet use-fallback property to True for GtkScaleButton icons.
John Lindgren [Sat, 5 Apr 2014 14:07:25 +0000 (10:07 -0400)]
Set use-fallback property to True for GtkScaleButton icons.

https://bugzilla.gnome.org/show_bug.cgi?id=727662

12 years agoMake GtkAccelGroupEntry public again
Jasper St. Pierre [Sun, 6 Apr 2014 02:44:00 +0000 (22:44 -0400)]
Make GtkAccelGroupEntry public again

Even though it was marked as internal, it seems gnome-terminal was
poking into the structure. It's unfortunately part of our ABI.

12 years agooverlay: deal gracefully with main widget being absent
Matthias Clasen [Sat, 5 Apr 2014 15:21:50 +0000 (11:21 -0400)]
overlay: deal gracefully with main widget being absent

It can happen that we get a size request when the main widget
is still NULL. Currently we hit a critical in this case, and
stumble on. We can do better.
Opening a new tab in nautilus is hitting this case.
https://bugzilla.gnome.org/show_bug.cgi?id=727643

12 years agoClean up private headers
Matthias Clasen [Sat, 5 Apr 2014 06:04:12 +0000 (02:04 -0400)]
Clean up private headers

This commit adds a few missing private headers, and cleans up
some irregularities in the existing ones

12 years agoUpdated Greek translation
maria thukididu [Fri, 4 Apr 2014 12:28:43 +0000 (15:28 +0300)]
Updated Greek translation

12 years agoUpdated Greek translation
maria thukididu [Fri, 4 Apr 2014 12:25:46 +0000 (15:25 +0300)]
Updated Greek translation

12 years agoW32: Give unfocused selected list items special background, like Explorer does
Руслан Ижбулатов [Wed, 2 Apr 2014 17:42:31 +0000 (17:42 +0000)]
W32: Give unfocused selected list items special background, like Explorer does

https://bugzilla.gnome.org/show_bug.cgi?id=727244

12 years agocsd: Drop the GTK_FRAME_EXTENTS requirement
Matthias Clasen [Fri, 4 Apr 2014 05:28:09 +0000 (01:28 -0400)]
csd: Drop the GTK_FRAME_EXTENTS requirement

We are getting bug reports from people who are irritated that
dialogs now have 'double headers' under any wm but gnome-shell.

As an example, xfwm4 seems to do ok with csd windows, and
on balance it seems better to have some invisible border issues
than to have double headers.

https://bugzilla.gnome.org/show_bug.cgi?id=727414

12 years agodocs: More uniform formatting
Matthias Clasen [Fri, 4 Apr 2014 05:25:14 +0000 (01:25 -0400)]
docs: More uniform formatting

Make all occurrences of hex in gdkcolor.c use “.

12 years agodocs: Remove '\' escape character from literals
Volker Sobek [Fri, 28 Mar 2014 20:55:03 +0000 (21:55 +0100)]
docs: Remove '\' escape character from literals

commit 7f6a964c47ad2f9dcf6a00044d938840ce8f01f2 replaced entities, but
escaped the replacement text also inside literals, which resulted in the
escaping '\' to also appear in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=727322

12 years agodoc: fix gtk_window_destroy() -> gtk_widget_destroy()
Sébastien Wilmet [Thu, 3 Apr 2014 16:22:31 +0000 (18:22 +0200)]
doc: fix gtk_window_destroy() -> gtk_widget_destroy()

Reviewed-by: Emmanuele Bassi
12 years agoVisual C++ Builds: Build Introspection for GdkWin32
Chun-wei Fan [Thu, 3 Apr 2014 07:49:05 +0000 (15:49 +0800)]
Visual C++ Builds: Build Introspection for GdkWin32

Add support to build the introspection files for GdkWin32, as done recently
in the autotools builds and clean up the NMake Makefile for building the
introspection files a bit.

For some reason, gdk_win32_display_manager_get_type() was not exported in
gdk-3.0.lib, force its export, so that the GdkWin32-3.0.gir can be built
properly with the Visual C++ builds.  This is a known problem that some
symbols in static libraries that are linked into a DLL in Visual C++, even
if they were marked with __declspec(dllexport) via _GDK_EXTERN.

12 years agoMSVC Builds: Clean up gtk-version-paths.*props
Chun-wei Fan [Thu, 3 Apr 2014 07:07:44 +0000 (15:07 +0800)]
MSVC Builds: Clean up gtk-version-paths.*props

Remove lines that are not really referred to.

12 years agoDrop an unnecessary include
Matthias Clasen [Wed, 2 Apr 2014 16:41:24 +0000 (12:41 -0400)]
Drop an unnecessary include

These tests are better if they can be built standalone.

12 years agoAdd a big combobox test case
Matthias Clasen [Wed, 2 Apr 2014 13:51:01 +0000 (09:51 -0400)]
Add a big combobox test case

I've seen many bugs about long combo box popups getting misplaced
or wrongly sized. Time to add a testcase.

12 years agoa11y: atk_table_get_row_at_index is deprecated
Jonas Danielsson [Sat, 29 Mar 2014 20:51:31 +0000 (21:51 +0100)]
a11y: atk_table_get_row_at_index is deprecated

Do not use deprecated index based AtkTable functions use static
helper instead.

https://bugzilla.gnome.org/show_bug.cgi?id=727313

12 years agoa11y: atk_component_get_position is deprecated
Jonas Danielsson [Sat, 29 Mar 2014 20:48:43 +0000 (21:48 +0100)]
a11y: atk_component_get_position is deprecated

Switch to using atk_component_get_extents instead.

https://bugzilla.gnome.org/show_bug.cgi?id=727313

12 years agotreeview: remove unused members from GtkTreeView Private
Michael Natterer [Tue, 1 Apr 2014 23:03:54 +0000 (01:03 +0200)]
treeview: remove unused members from GtkTreeView Private

12 years ago[l10n] Update Catalan translation
Pau Iranzo [Tue, 1 Apr 2014 21:56:51 +0000 (23:56 +0200)]
[l10n] Update Catalan translation

12 years agoW32: style tooltips with appropriately-themed background
Руслан Ижбулатов [Mon, 31 Mar 2014 16:01:55 +0000 (16:01 +0000)]
W32: style tooltips with appropriately-themed background

https://bugzilla.gnome.org/show_bug.cgi?id=727410

12 years agoW32: give scrollbar slider active and insensitive styles
Руслан Ижбулатов [Mon, 31 Mar 2014 15:54:09 +0000 (15:54 +0000)]
W32: give scrollbar slider active and insensitive styles

https://bugzilla.gnome.org/show_bug.cgi?id=727391

12 years agoGive CC to instrospection scanner
Руслан Ижбулатов [Fri, 28 Mar 2014 14:03:30 +0000 (14:03 +0000)]
Give CC to instrospection scanner

Introspection scanner-generation script gets compiler from the CC
environment, we need to set it.

https://bugzilla.gnome.org/show_bug.cgi?id=722817

12 years agoIntrospection for gdk-win32
Руслан Ижбулатов [Fri, 28 Mar 2014 14:02:39 +0000 (14:02 +0000)]
Introspection for gdk-win32

https://bugzilla.gnome.org/show_bug.cgi?id=722817

12 years agoW32: Add .dim-label style
Руслан Ижбулатов [Fri, 28 Mar 2014 13:30:40 +0000 (13:30 +0000)]
W32: Add .dim-label style

https://bugzilla.gnome.org/show_bug.cgi?id=727245

12 years agoW32: Fix listbox selection
Руслан Ижбулатов [Fri, 28 Mar 2014 12:50:51 +0000 (12:50 +0000)]
W32: Fix listbox selection

* Makes listbox background white instead of default grey
* Uses gradients or W32 theme parts to draw sexy selection/prelight
  rectangle instead of changing selected/prelighted item background
* Removes blanket button text color, allowing buttons to inherit
  text color from their parents. Non-normal buttons DO get specific
  text color though. This partially fixes text color propagation from
  listbox rows to their children.

https://bugzilla.gnome.org/show_bug.cgi?id=727244

12 years agoW32: Add MSW7 notebook theme, move old notebook theme into XP-only CSS
Руслан Ижбулатов [Fri, 28 Mar 2014 00:27:04 +0000 (00:27 +0000)]
W32: Add MSW7 notebook theme, move old notebook theme into XP-only CSS

https://bugzilla.gnome.org/show_bug.cgi?id=727213

12 years agoW32: Remove selection from check/radio marks
Руслан Ижбулатов [Wed, 26 Mar 2014 11:59:52 +0000 (11:59 +0000)]
W32: Remove selection from check/radio marks

Current theme allows selection to leak into check/radio marks,
resulting in ugly colored rectangles showing up underneath the marks.

https://bugzilla.gnome.org/show_bug.cgi?id=727211

12 years agoW32: Add dummy prelight style to check/radio buttons to propagate prelight to check...
Руслан Ижбулатов [Wed, 26 Mar 2014 11:57:05 +0000 (11:57 +0000)]
W32: Add dummy prelight style to check/radio buttons to propagate prelight to check/radio marks

https://bugzilla.gnome.org/show_bug.cgi?id=727210

12 years agoW32: re-enable grip theming
Руслан Ижбулатов [Wed, 26 Mar 2014 07:17:04 +0000 (07:17 +0000)]
W32: re-enable grip theming

https://bugzilla.gnome.org/show_bug.cgi?id=727080

12 years agoW32: Add GtkPopover theming
Руслан Ижбулатов [Wed, 26 Mar 2014 07:04:38 +0000 (07:04 +0000)]
W32: Add GtkPopover theming

https://bugzilla.gnome.org/show_bug.cgi?id=727078

12 years agoW32: Make combobox-entry thinner by removing unneeded padding
Руслан Ижбулатов [Wed, 26 Mar 2014 06:54:52 +0000 (06:54 +0000)]
W32: Make combobox-entry thinner by removing unneeded padding

https://bugzilla.gnome.org/show_bug.cgi?id=727075

12 years agoW32: Fix menu item size and submenu arrow size
Руслан Ижбулатов [Tue, 25 Mar 2014 17:47:08 +0000 (17:47 +0000)]
W32: Fix menu item size and submenu arrow size

https://bugzilla.gnome.org/show_bug.cgi?id=727037

12 years agoW32: Fix combobox dropdown list color
Руслан Ижбулатов [Tue, 25 Mar 2014 17:35:02 +0000 (17:35 +0000)]
W32: Fix combobox dropdown list color

https://bugzilla.gnome.org/show_bug.cgi?id=727036

12 years agoW32: Fix double-arrowed combobox button
Руслан Ижбулатов [Tue, 25 Mar 2014 17:25:47 +0000 (17:25 +0000)]
W32: Fix double-arrowed combobox button

The arrow is part of the background image drawn by the theme, don't draw
GTK's own arrow. This also applies to non-entry comboboxes.

On XP the arrow-and-nothing-else part does not exist (W32 XP theme draws a
white rectangle) and has to be subtituted for a simple dropdown button even
for non-entry comboboxes.

https://bugzilla.gnome.org/show_bug.cgi?id=727035

12 years agoFix W32 theme for spinbuttons
Руслан Ижбулатов [Tue, 25 Mar 2014 15:47:56 +0000 (15:47 +0000)]
Fix W32 theme for spinbuttons

It seems that the dec-button no longer has a "bottom" selector-thingy to
select for. Use "last-child" instead.
Use .vertical to style vertical instance differently, as last-child/first-child
meaning is inverted there.
Increase (towards 0) margins a bit, to avoid clipping the pre-light rectangle.
Use dir(rtl) selector to style horizontal instance differently for RTL locales,
where first-child is "inc".

https://bugzilla.gnome.org/show_bug.cgi?id=727022

12 years agotextbufferserialize: do not leak list of tags
Paolo Borelli [Sun, 30 Mar 2014 16:29:15 +0000 (18:29 +0200)]
textbufferserialize: do not leak list of tags

12 years agoapplication-dbus: free strings during finalization
Paolo Borelli [Sun, 30 Mar 2014 09:57:23 +0000 (11:57 +0200)]
application-dbus: free strings during finalization

12 years agostackswitcher: do not leak buttons hash table
Paolo Borelli [Sat, 29 Mar 2014 22:14:51 +0000 (23:14 +0100)]
stackswitcher: do not leak buttons hash table

12 years agoflow box: Avoid excessive signals
Matthias Clasen [Sat, 29 Mar 2014 04:46:51 +0000 (00:46 -0400)]
flow box: Avoid excessive signals

We were emitting the a11y ::selection-changed signal much more
often than ::selected-children-changed. Thats not necessary.

12 years agodocs: Another round of markup removal
Matthias Clasen [Sat, 29 Mar 2014 04:24:15 +0000 (00:24 -0400)]
docs: Another round of markup removal

12 years agoTrivial typo fix
Matthias Clasen [Fri, 28 Mar 2014 23:19:37 +0000 (19:19 -0400)]
Trivial typo fix

12 years agoDocs: remove some leftover markup
Matthias Clasen [Fri, 28 Mar 2014 22:21:59 +0000 (18:21 -0400)]
Docs: remove some leftover markup

12 years agoclipboard: Add link to GdkDisplay in doc
Jonas Danielsson [Fri, 28 Mar 2014 12:43:33 +0000 (13:43 +0100)]
clipboard: Add link to GdkDisplay in doc

https://bugzilla.gnome.org/show_bug.cgi?id=712752

12 years agogdkproperty-win32.c: Fix gtk-font-name handling
Chun-wei Fan [Fri, 14 Mar 2014 08:33:53 +0000 (16:33 +0800)]
gdkproperty-win32.c: Fix gtk-font-name handling

...on Windows 8+ and when the system setting for non-Unicode programs do
not match the language version of Windows by falling back to using Pango.

This ensures that the correct font is used during these scenarios, so that
we minimize the risk of seeing garbled characters for texts that the system
code page does not support due to system peculiarties.  There might be a
way to support gtk-font-name handling using the native Windows APIs
directly on Windows 8+, but that needs to be investigated.

https://bugzilla.gnome.org/show_bug.cgi?id=726298

12 years agotreeview: Lower the duration of validation iterations
Bastien Nocera [Sat, 22 Mar 2014 11:47:55 +0000 (12:47 +0100)]
treeview: Lower the duration of validation iterations

GTK_TREE_VIEW_TIME_MS_PER_IDLE is currently 30 milliseconds, meaning
that validate_rows will validate rows up until all the validations have
taken over 30 msecs. So it's likely to block redrawing via the clock
frame update mechanism, as that tops at 16.66 milliseconds per frame
(1/60th of a second).

Stop validating rows if we've spent more than 3/5 of our allotted budget
for inter-frame processing, so as to avoid blocking.

In the future, we would probably want to calculate how long we would
have left until the next frame, especially if higher priority idles
and timeouts have already consumed a portion of that allotted time.

https://bugzilla.gnome.org/show_bug.cgi?id=726871

12 years agotreemodelfilter: Fix using wrong path on row-deleted
Olivier Brunel [Thu, 16 Jan 2014 14:23:20 +0000 (15:23 +0100)]
treemodelfilter: Fix using wrong path on row-deleted

A "typo" led to using a wrong GtkTreePath when converting the path of the
virtual root to check the ancestors, which would lead to either no checks being
performed, or maybe segfaulting when using an invalid path as result.

https://bugzilla.gnome.org/show_bug.cgi?id=722058
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
12 years agoAllow gtk_radio_menu_item_set_group() to be called twice without crashing.
John Lindgren [Sat, 22 Mar 2014 03:12:04 +0000 (23:12 -0400)]
Allow gtk_radio_menu_item_set_group() to be called twice without crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=726859

12 years agoall: Name more idles and timeouts
Bastien Nocera [Sat, 22 Mar 2014 11:44:01 +0000 (12:44 +0100)]
all: Name more idles and timeouts

Following up from 438cd857c49242244dda2923ac447f36464b9e72,
name more timeouts and idles.

The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).

https://bugzilla.gnome.org/show_bug.cgi?id=726870

12 years agowidget-factory: Use a popover gear menu
Matthias Clasen [Thu, 27 Mar 2014 00:00:58 +0000 (20:00 -0400)]
widget-factory: Use a popover gear menu

12 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 26 Mar 2014 13:52:54 +0000 (14:52 +0100)]
Updated Basque language